package com.teradyne.merlin2.ui.client.providers;

import com.google.inject.Inject;
import com.google.inject.Provider;
import com.teradyne.merlin2.ui.client.activities.OrderEntryActivity;
import com.teradyne.merlin2.ui.client.views.OrderEntryView;

public class OrderEntryActivityProvider implements Provider<OrderEntryActivity> {
  private final OrderEntryView view;

  @Inject
  public OrderEntryActivityProvider(OrderEntryView view) {
    this.view = view;
  }

  @Override
  public OrderEntryActivity get() {
    return new OrderEntryActivity(view);
  }
}
